package com.joysuch.wwyt.openapi.controllers.controllerV1.req;

import cn.zlg.common.springmvc.validate.constraints.NotNull;
import com.fasterxml.jackson.core.SerializableString;
import lombok.Data;

import java.io.Serializable;

/**
 * @author: JamesZY
 * @date: 2021/9/1
 * @description:查询部门集合树请求体
 */
@Data
public class ApiV1BpDepartTreeListReq implements Serializable {

    private static final long serialVersionUID = 7780653984062616123L;

    //是否有孙节点，如果是返回所有子孙如果不是仅返回所有子节点
    @NotNull(message = "是否含孙节点不能是空")
    private Boolean hasSubs;

    private String name;

    private String uniqueId;

}
